<?php

/**
 * [simcool]
 *
 * @package simcool
 * @author shean
 * @version 2024-12
 * @link http://doubao.life
 */
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
?>
<!DOCTYPE HTML>
<html lang="zh-cn">

<head><?php $this->need('header.php'); ?>
    <style>
        .activeList {
            padding: 10px;
        }

        .timeline .timeline-item::before {
            left: 7px;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="columns">
            <!-- cover pc-only -->
            <div class="column col-4 px-0 hide-sm">
                <?php $this->need('cover-today.php'); ?>
            </div>
            <!-- page -->
            <div class="column col-8 col-sm-12 px-0">
                <!-- menu -->
                <div class="container p-0">
                    <?php $this->need('menu.php'); ?>
                </div>
                <!-- cont -->
                <div class="container">
                    <div class="columns">
                        <!-- left -->
                        <div class="column col-3 col-sm-3 px-0">
                            <!-- cate-menu -->
                            <?php $this->need('cateMenu.php'); ?>
                        </div>
                        <!-- right -->
                        <div class="column col-9 col-sm-9 p-0">
                            <!-- page body -->
                            <div class="scroller-y" style="height: calc(100vh - 42px);">

                                <?php if (!$this->have()): ?>
                                    <div class="archive-item no-border">
                                        <div class="d-flex a-center j-center" style="height:calc(100vh - 160px);">
                                            <div>
                                                <div class="bg-image img-nodata" style="width:80px;height:80px;"></div>
                                                <div class="text-dark text-small text-center mt-2">暂无数据</div>
                                            </div>
                                        </div>
                                    </div>
                                <?php endif; ?>

                                <?php $slug = $this->getArchiveSlug(); ?>
                                <div class="d-none text-warning text-center text-tiny" style="margin:25px;">本栏目尚未开启评论</div>



                                <div class="bg-gray" style="padding:150px 0;">
                                    <div class="d-flex a-center j-center ">
                                        <div class="a-link text-bold text-primary" style="font-size:2.5rem;margin-right:10px;"><?php $this->category(); ?></div>
                                        <div class="mx-2">
                                            <div class="text-tiny">
                                                <div>出游，是消遣</div>
                                                <div>也是积累</div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="text-center mt-2 pt-2 text-gray text-small">豆包积累的行程</div>
                                </div>

                                <div class="timeline block-space">
                                    <?php while ($this->next()): ?>
                                        <div class="timeline-item" id="timeline-example-2">
                                            <div class="timeline-left">
                                                <span class="timeline-icon icon-lg">
                                                    <i class="icon icon-check"></i>
                                                </span>
                                            </div>
                                            <div class="timeline-content" style="margin-top:-5px">
                                                <div class="d-flex a-center">
                                                    <div class="f1">
                                                        <div class="c-hand text-primary text-ellpsis text-large" onclick="location.href='<?php $this->permalink(); ?>';"><?php $this->title(); ?></div>
                                                        <div class="text-gray text-small d-flex a-center">
                                                            <?php if ($this->fields->albumPath): ?>
                                                                <span class="chip bg-error text-light mr-1">包含相册</span>
                                                            <?php endif; ?>
                                                            <?php if ($this->fields->mapLat && $this->fields->mapLng): ?>
                                                                <span class="chip bg-success text-light">包含位置</span>
                                                            <?php endif; ?>
                                                            <span class="chip ml-1"><?php $this->date('Y-m-d'); ?></span>
                                                        </div>

                                                        <div class="text-gray my-2 text-small">
                                                            <?php if ($this->fields->postDesc): ?>
                                                                <?php $this->fields->postDesc(); ?>
                                                            <?php else: ?>
                                                                <span class="">此文章暂无描述</span>
                                                            <?php endif; ?>
                                                        </div>
                                                    </div>
                                                    <div class='d-none'>
                                                        adf
                                                    </div>
                                                </div>
                                                <?php $itemlist = getCoverList($this); ?>
                                                <?php foreach ($itemlist as $key => $val): ?>

                                                <?php endforeach; ?>
                                            </div>
                                        </div>
                                    <?php endwhile; ?>
                                </div>
                                <div class=''>
                                    <?php $this->pageNav('P', 'N'); ?>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <?php $this->need('footer.php'); ?>
    </div>

</body>

</html>